package hcn.protocol.ods.paymentXML;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:FangZhiyi
 * @Description 门诊药房列表查询 入参
 * @Data Created in 2020/11/13 14:41
 * @Moddified By:
 */
@XmlRootElement(name = "MsgBody")
public class FindRecipeSuppliersXMLReq implements Serializable {
    /*机构id*/
    private String VisitOrganization;

    /*药品总费用*/
    private String TotalCost;

    /*机构id*/
    private List<Drug> DrugLists;

    @XmlElement(name = "VisitOrganization")
    public String getVisitOrganization() {
        return VisitOrganization;
    }

    public void setVisitOrganization(String visitOrganization) {
        VisitOrganization = visitOrganization;
    }
    @XmlElement(name = "TotalCost")
    public String getTotalCost() {
        return TotalCost;
    }

    public void setTotalCost(String totalCost) {
        TotalCost = totalCost;
    }

    @XmlElementWrapper(name = "DrugLists")
    @XmlElement(name = "DrugList")
    public List<Drug> getDrugLists() {
        return DrugLists;
    }

    public void setDrugLists(List<Drug> drugLists) {
        DrugLists = drugLists;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Drug{
        /*药品类型：1西药 2中成药 3中草药*/
        private String DrugType;
        /*机构药品id*/
        private String DrugsNumber;
        /*机构药品名称*/
        private String DrugName;
        /*机构药品产地编码*/
        private String DrugProductionPlaceId;
        /*机构药品产地名称*/
        private String DrugProductionPlace;
        /*药品总量，药品总量=单贴药品数量*处方贴数*/
        private String DrugSendNumber;

        public String getDrugType() {
            return DrugType;
        }

        public void setDrugType(String drugType) {
            DrugType = drugType;
        }

        public String getDrugsNumber() {
            return DrugsNumber;
        }

        public void setDrugsNumber(String drugsNumber) {
            DrugsNumber = drugsNumber;
        }

        public String getDrugName() {
            return DrugName;
        }

        public void setDrugName(String drugName) {
            DrugName = drugName;
        }

        public String getDrugProductionPlaceId() {
            return DrugProductionPlaceId;
        }

        public void setDrugProductionPlaceId(String drugProductionPlaceId) {
            DrugProductionPlaceId = drugProductionPlaceId;
        }

        public String getDrugProductionPlace() {
            return DrugProductionPlace;
        }

        public void setDrugProductionPlace(String drugProductionPlace) {
            DrugProductionPlace = drugProductionPlace;
        }

        public String getDrugSendNumber() {
            return DrugSendNumber;
        }

        public void setDrugSendNumber(String drugSendNumber) {
            DrugSendNumber = drugSendNumber;
        }
    }
}
